package com.yyz.zjjcms.service;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import org.yyz.helper.Pagenation;

import com.yyz.zjjcms.model.User;

@Component
@Transactional(readOnly=true)
public interface UserService {
	/**
	 *获取全部用户
	 * @param rows 
	 * @param page 
	 * @return
	 */
	Pagenation<User> getAllUser(int page, int rows);
	
}
